/**
 * 
 */
package com.jframework.module.usps.beans.rates;

import com.jframework.module.usps.beans.USPSObject;


/**
 * @author ashish
 *
 */
public class RateV3Postage
       implements USPSObject
{
    /*
     * CLASSID is unique for each type of USPS Shipping option.
     */
    private Integer CLASSID = null;
    private String mailService = null;
    private Double rate = null;
    /**
     * @return the cLASSID
     */
    public Integer getCLASSID() {
        return CLASSID;
    }
    /**
     * @param classid the cLASSID to set
     */
    public void setCLASSID(Integer classid) {
        CLASSID = classid;
    }
    /**
     * @return the mailService
     */
    public String getMailService() {
        return mailService;
    }
    /**
     * @param mailService the mailService to set
     */
    public void setMailService(String mailService) {
        this.mailService = mailService;
    }
    /**
     * @return the rate
     */
    public Double getRate() {
        return rate;
    }
    /**
     * @param rate the rate to set
     */
    public void setRate(Double rate) {
        this.rate = rate;
    }
    
    
    public boolean equals(Object obj)
    {
	if (null != obj
	 && obj instanceof RateV3Postage
	 && this.CLASSID.equals(((RateV3Postage)obj).getCLASSID())
	)
	   return true;
	
	return false;
    }



    
    

}
